High risk of ‘failure’ among emergency physicians compared with other specialists: a nationwide cohort study