Quantum theory of synchrotron radiation in ( 2+1 )-dimensional electrodynamics