Synthesis and modification of flavonoids from surface exudate of Polygonum senegalense to enhance their bioactivity