Quantum relativistic theory of the synchrotron/cyclotron radiation in a strongly-magnetized plasma: The case of longitudinal propagation