Effect of nickel doping on structural, morphological and optical properties of sol–gel spin coated ZnO films