Genomic profiles and removal mechanisms explain the observed stratification of Fe2+, NH4+ and Mn2+ removal in rapid sand filters