From smallpox to AIDS, how the world has battled infectious diseases