Nucleation and crystallisation of hafnium compounds and thin films