Motor imagery and SSVEPs for neuroprosthetic control and heart rate triggered BCI