Properties of sol–gel dip-coated zinc oxide thin films