Text this: Chemical sensors based on photonic colloidal crystals