Ukraine consented to restrict grain exports to Poland to transit only