Biochemically modified polysaccharides from leguminous plants with versatile properties for industrial applications