Text this: Thermodynamic insight into stimuli-responsive behaviour of soft porous crystals