Coupling carbon dioxide reduction with water oxidation in nanoscale photocatalytic assemblies.