Quantum frequency shift in an elecromagnetic wave interacting with a plasma