Electroencephalography (EEG)-based brain computer interfaces for rehabilitation