Nonlinear optical second harmonic generation