Applying critical realism to the COVID-19 pandemic to improve management of future public health crises