Bimodal brain-machine interface for motor control of robotic prosthetic