Attacks on grain shipments from Russia and Ukraine may drive up food prices, hitting import-dependent countries hardest.