Characteristics of di- and trivalent metal-humic acid complexes on the basis of their molecular-weight distribution