Home Biodiversity improves water quality through niche partitioning