A method for determining the cation-exchange capacity of organic materials