Prospects for Thought Communication: Brain to Machine and Brain to Brain