Generalized perturbation theory of coherent optical emission.