Protective effect of total salvianolic acids against cerebral ischemia-reperfusion injuries in mice and rats