Effect of Heat Treatment and Light Exposure on the Antioxidant Activity of Flavonoids