Effect of gender on prognosis in patients with myocardial infarction and type 2 diabetes