Quantum effects in synchrotron radiation