Quantum transitions of relativistic electrons in a superstrong magnetic field