factors affecting long-run trend of the terms of trade for developing countries