Functionalized Carbon Nanotube Thin Films as the pH Sensing Membranes of Extended-Gate Field-Effect Transistors on the Flexible Substrates