Bill Gates outlines what he thinks world is learning about pandemics