Thermal model of oceanic lithosphere