Effect of thickness on the structural, electrical and optical properties of ZnO films