Cw theory of a diode pumped solid state laser in a resonant pump cavity