Developing countries spent a record $1.4 trillion to service their foreign debt