On the theory of double optical resonance