Evolution puts speed limit on recovery of biodiversity after mass extinctions