Surface complexation modeling of the removal of arsenic from ion-exchange waste brines with ferric chloride.