Influence of heart failure on the prognosis of patients with acute myocardial infarction in southwestern China