Functionalized single ZnO-metal junction as a pH sensor