Effect of phase formation behavior on thermal stability of hafnium-based thin films for copper interconnects