Solution thermochemistry of humic substances—I. Acid-base equilibria of humic acid