The Flexibility of Healthcare Teams: A Mixed Methods Study of Doctors and Nurses in an Emergency Department