Imaging the brain before, during, and after transcranial magnetic stimulation