Relationships of how well attending physicians teach to their students' performances and residency choices