Surface superconductivity in niobium for superconducting RF cavities