Understanding the detrimental effect of nitrate presence on EBPR systems: effect of the plant configuration