Liquid Crystal Adaptive Planar Optical Devices