Microbial population dynamics during sludge granulation in an anaerobic-aerobic biological phosphorus removal system.