Characterization of Flexible Arrayed pH Sensor Based on Nickel Oxide Films