Fabrication and characterization of U-shaped fiber-optic pH probes