Controlling Contagion: Epidemics and Institutions from the Black Death to Covid