Sol-gel synthesis of ZnO thin films