Homogeneous and heterogeneous photocatalysis