Brain control of sensorimotor prostheses