The impact of the number of admissions to the inpatient medical teaching team on patient safety outcomes.