The Dependence of the Upper Critical Field of Niobium on Temperature and Resistivity