Electromagnetic modulation of biological processes