Tracing megafaunal extinctions with dung fungal spores