Predictors of patient referrals by primary care residents to specialty care clinics.