Thermal contraction and flexure of intracratonal basins: a three-dimensional study of the Michigan basin