Zambia agrees debt deal with foreign creditors