Allocation of health resources in critical situations: a case study from Mexico