Molecular nonlinear optics