Thermal Model of Ocean Ridges