Molecular-weight characteristics of galactomannan and carrageenan