Astragaloside IV attenuates cognitive impairments induced by transient cerebral ischemia and reperfusion in mice via anti-inflammatory mechanisms