Photoactive spherical colloids for opal photonic crystals