Photocatalytic reduction of CO2 to hydrocarbons using bio-templated porous TiO2 architectures under UV and visible light