As the world races to stop Covid-19, here's how vaccines work