Preparation and characterization of pore-wall modification gradients generated on porous silicon photonic crystals using diazonium salts.