Modifying the terahertz vibrations in MIL-53-type materials: The impact of building block substitution on the flexibility