Correlated evolution of senescence and ephemeral substrate use in the Sordariomycetes