Adsorption Deformation and Structural Transitions in Metal–Organic Frameworks: From the Unit Cell to the Crystal