Influence of pH on the photocatalytic activity of ZnO nanoparticles