Luminescence mechanisms of defective ZnO nanoparticles