BoltzTraP. A code for calculating band-structure dependent quantities