Vaccine has benefits even for those with past COVID-19 infections