Enrichment of total flavonoids from Sophora flavescens with polyamide-macroporous resin