Functional group effects on metal-organic framework topology.