The genesis of refractory melts in the formation of oceanic crust