Systematic study of the multiple pharmacological effects of ellagic acid against myocardial infarction