Unexpected resilience of species with temperature-dependent sex determination at the Cretaceous–Palaeogene boundary