Development and validation of an early warning model for hospitalized COVID-19 patients