Electronic structure calculations of substitutional and interstitial hydrogen in Nb