How market reforms made the NHS vulnerable to pandemics