An input-output analysis of the "key" sectors in CO2 emissions from a production perspective: an application to the Spanish economy