Interaction balance governs microbial community richness-stability relationship in terrestrial ecosystems