The stability of activated sludge reactors with substrate inhibition kinetics and solids recycle