Preparation of hafnium oxide thin films by sol–gel method