Brain–machine interfaces from motor to mood