Bacterial diversity promotes community stability and functional resilience after perturbation | Synapse