Effect of age on long-term prognosis of patients with myocardial infarction