Dynamics of cw intra-cavity second harmonic generation by PPKTP