Concentration profiles of boron implantations in amorphous and polycrystalline silicon