Synthesis and characterization of multilayered sol–gel based plastic-clad fiber optic pH sensor