Oxygen control and improved denitrification efficiency by means of a post-anoxic reactor