Russia and Ukraine, which account for more than a quarter of global wheat exports, have stepped up attacks on Black Sea commercial ships and ports, raising concerns about supply.