Prediction of late mortality after myocardial infarction from variables measured at different times during hospitalization