An analysis of major errors and equipment failures in anesthesia management: considerations for prevention and detection