The thermal structure and thermal evolution of the continental lithosphere