The complexation of metal cations by D-galacturonic acid: a spectroscopic study.