Contribution of flavonoids to the antioxidant properties of common and tartary buckwheat