Analysis of ion binding on humic substances and the determination of intrinsic affinity distributions.