Regulating Activity and Selectivity of Photocatalytic CO2 Reduction on Cobalt by Rare Earth Compounds.