Feathers helped dinosaurs survive Triassic mass extinction