Thickness and thermal history of continental crust and root zones