Governments grapple with how to balance public safety against devastating economic impact of pandemic