During the Jurassic period which group came out as the most dominate for both carnivores and herbivores