Liquid crystal applications in photonics