Ginsenoside Rg1 attenuates cerebral ischemia-reperfusion injury through inhibiting the inflammatory activation of microglia.