Doping metal-organic frameworks for water oxidation, carbon dioxide reduction, and organic photocatalysis.