The metabolism of oil extraction : a bottom-up approach applied to the case of Ecuador