When and how did dinosaurs go extinct?

It's asteroid versus volcano.