Atorvastatin ameliorates myocardial ischemia/reperfusion injury through attenuation of endoplasmic reticulum stress-induced apoptosis.