Autotrophic biological nitrogen removal in a two-stage system at mainstream conditions