An agreement to resume vital exports of grain from Ukraine has just been signed in Istanbul by Ukraine, Russia, Turkey and the UN secretary general.