Extraction, characterization, and applications of pectins from plant by-products