nonlinear optics and devices