Liquid Crystals, Photonic Crystals, Metamaterials, and Transformation Optics