Dynamics of lattice transformation in HfV2