Diffusion characteristics of boron and phosphorus in polycrystalline silicon