Photoactivity of N-doped ZnO nanoparticles in oxidative and reductive reactions