Correlation between chemical constituents and ecological factors of Astragalus membranaceus var. mongholicus.