The societal metabolism and resource curse of developing economies: a comparative study of Ghana and Ivory Coast