record electrical activity in the brain