Study on the extraction and antioxidant properties of flavonoids from onion