Dinosaur demise allowed mammals to 'go nuts'