The complexity of team training: what we have learned from aviation and its applications to medicine