Responsive Photonic Crystals