Mechanistic Insights into CO2 Photo- and Electroreduction Using Manganese Complexes