adiabatic process and latent heat