Assessment of the impact of resting heart rate on the risk of major adverse cardiovascular events after ischemic stroke: a retrospective observational study