Molecular structure of humic acids: environmental applications