Modeling the effect of carbon on boron diffusion