Structural requirements of flavonoids for inhibition of protein glycation and radical scavenging activities