How to Control Things with Your Brain: A Scientific Guide