A continental crustal model and its geothermal implications