Magnetocaloric Effect and the Upper Critical Field of Superconducting Niobium