Text this: Optical Sensors Based on Opal Film and Silica Nanoparticles Modified with a Functional Dye