Entropy versus enthalpy in hexagonal-close-packed high-entropy alloys