Dinosaurs were already in decline before the asteroid wiped them out – new research