Thermodynamics analysis of thermoelectric materials: Influence of cracking on efficiency of thermoelectric conversion