Structure and dielectric properties of HfO2 films prepared by a sol–gel route