Potential savings of resources and greenhouse gas emissions from waste management : a case study of Spain in a global economy