New research shows dinosaurs thrived before asteroid impact