Ecological strategies shape the insurance potential of biodiversity