The doping effect on the properties of zinc oxide (ZnO) thin layers for photovoltaic applications