Substitution reactions in metal-organic frameworks and metal-organic polyhedra.