Neurophotonics: optical methods to study and control the brain