On what date did the Ottoman empire issue foreign loans to deal with the cost of the war?