Perchlorate and nitrate treatment by ion exchange integrated with biological brine treatment.