Thermodynamics on Ammonia Absorption of Metal Halides and Borohydrides