The effect of doping on the thermal conductivity of polycrystalline graphite