Effect of pH on phosphine production and the fate of phosphorus during anaerobic process with granular sludge.