Control and estimation strategies applied to the activated sludge process