Dynamic photonic materials based on liquid crystals