Low-cost high-efficiency system for solar-driven conversion of CO2 to hydrocarbons