A societal metabolism approach to job creation and renewable energy transitions in Catalonia. (September 2017)