Triage, treatments and quality of care in the ED: Evidence from a queuing reforming