Predicting the target specialty of referral notes to estimate per-specialty wait times with machine learning