Measuring the effects of vaccines in randomized and observational contexts: challenges and ways forward