How do vaccines work? Do they work against viruses and bacteria?