Thermodynamics and performance of the Mg-H-F system for thermochemical energy storage applications.