Effect of nickel doping on the photocatalytic activity of ZnO thin films under UV and visible light