Light intensity and electric and magnetic fields