Thermal evolution of the oceanic crust; its dependence on spreading rate and effect on crustal structure