Thermodynamic Insight into Stimuli-Responsive Behavior of Soft Porous Crystals