The effect of electromagnetic fields on the brain