Text this: Comparative analysis of metal-organic frameworks (MOFs) in photocatalysis and electrocatalytic CO2 reduction