Survival after recovery from acute myocardial infarction