Applications of Nonlinear Optical Thin Films