Integrating the selection of PHA storing biomass and nitrogen removal via nitrite in the main wastewater treatment line