explain how minerals form from solutions along the mid-ocean ridge?