Integrated nonlinear optics: From classical to quantum phenomena