Luminescence in silicon in electric and magnetic fields