Analytical Response of Sensor Arrays Based on Photonic Crystals: Measurements of Diffuse Reflectance