The Principles of Nonlinear Optics