On-the-job training and earnings differences by race and sex