Thermoelectric efficiency in graded indium-doped PbTe crystals