Spectroscopic in situ examination of interactions of rare earth ions with humic substances.