latent heat storage formula