Behavior of total phosphorus removal in an intelligent controlled sequencing batch biofilm reactor for municipal wastewater treatment.