Metagenome-resolved global microbial diversity and function in activated-sludge wastewater treatment systems