Late Palaeozoic to early Mesozoic evolution of Pangaea