Interaction of sea water and lava during submarine eruptions at mid-ocean ridges