Mechanism of Second Harmonic Generation of Optical Maser Beams in Quartz