Eriochrome cyanine doped sol–gel coatings. Optical behavior against pH