Nonlinear Optical Properties of Liquid Crystals and Polymer Dispersed Liquid Crystals