Text this: Structure-property relationships in stimulus-responsive cadmium- and zinc-based metal-organic framework materials