When dinosaurs disappeared, forests thrived