Russia and Ukraine will sign a deal on Friday to reopen Ukraine's Black Sea ports for grain exports, Turkey said, raising hopes that an international food crisis aggravated by Russia's invasion can be eased.