Vaccination offers greater protection against Covid-19 variants, study suggests