Optical pH meter by means of a porphyrin monolayer covalently assembled on a molecularly engineered silica surface