Ammonia adsorption and its effects on framework stability of MOF-5 and MOF-177.