On-line control of a SBR system for nitrogen removal from industrial wastewater