Characterization of antioxidant and antiglycation properties and isolation of active ingredients from traditional chinese medicines