Development and validation of a model for the prediction of the risk of pneumonia in patients with SARS-CoV-2 infection