Impurity Band Effects in Thermoelectric Materials