Decoding EEG rhythms offline and online during motor imagery for standing and sitting based on a brain-computer interface