Photothermal CO2 conversion using two-dimensional and porous framework materials: an energy-cascade analysis of mechanistically complementary catalysts