Switching of majority charge carriers by Zn doping in NdNiO3 thin films