IR and XANES spectroscopic studies of humic acids reacting with Cr(III) and Cr(VI)