Elemental sulfur recovery and spatial distribution of functional bacteria and expressed genes under different carbon/nitrate/sulfide loadings in up-flow anaerobic sludge blanket reactors.