Comparison of the structural and optical properties of zinc oxide thin films deposited by d.c. and r.f. sputtering and spray pyrolysis