The environment drives microbial trait variability in aquatic habitats