Semiclassical Approach in the Analysis of Ring Laser. I. Derivation of Rate Equations Including Backscattering and Interference.