Metagenomics unravels differential microbiome composition and metabolic potential in rapid sand filters purifying surface water versus groundwater.