Humic acid-divalent cation interactions