Artificial intelligence algorithm for detecting myocardial infarction using six-lead electrocardiography