Binding of ions to chitosan—selectivity studies