Direct and reverse shape-selective catalysis by metal-organic frameworks.