Effect of vaccine on prognosis and mortality in COVID-19