Thermodynamics of hexagonal-close-packed iron under Earth's core conditions