Scientists have found a way to turn carbon dioxide and methane, the two most notorious greenhouse gases, into useful chemicals without any expensive catalysts, using only light.