CW fiber laser for second harmonic generation