Inorganic materials acting as heterogeneous photocatalysts and catalysts in the same reactions