Throughout history, pandemics have had profound economic effects