Charging gold nanoparticles in ZnO by electric fields