Risk factors for sudden cardiac arrest in patients with ST-segment elevation myocardial infarction: a retrospective cohort study