Taking a cue from plants, new chemical approach converts carbon dioxide to valuable fuel