Feces and vomit reveal how dinosaurs rose to dominate Earth