An artificial intelligence system for predicting the deterioration of COVID-19 patients in the emergency department