Faulting and magmatism at mid-ocean ridges