Insight into the molecular dynamics of guest cations confined in deformable azido coordination frameworks.