Thermal conductivity of niobium in the purely superconducting and normal states