Relationship between Earthquakes and Mid-Ocean Ridges