Effect of surface defects on the visible emission from ZnO nanoparticles