A Russian attack on a civilian cargo ship in the Black Sea has killed three crew members, escalating risks for international shipping in the region.