dinosaur behavior habitats