Quantum Approach to Amplification of Optical Phonons in Semiconductors