Waveguide Nonlinear-Optic Devices