Pseudo-online Detection and Classification for Upper-limb Movements from Scalp Electroencephalogram