US government is funding research into technology that will connect soldiers' brains to computers