Nations adopt historic pledge to guard against future pandemics