Terrestrial and marine extinction at the Triassic-Jurassic boundary synchronized with major carbon-cycle perturbation