Prognostic role of cardiac magnetic resonance in acute myocardial infarction