Incorporation of dopants into the lattice of ZnO nanoparticles to control photoactivity