Explaining the (In)effectiveness of on-the-job training