Photonic crystal reflectance switching by dye electrophoresis