Lithospheric stress, deformation, and tectonic cycles: the disruption of Pangaea and the closure of Tethys