Electromagnetic control of cell functions