Palladium and platinum recovery from bicomponent mixtures using chitosan derivatives