Improving the Sustainability of Synthetic Methods for Accessing d- and fBlock Metal–Organic Frameworks