On the thermal conductivity and thermoelectric power of semiconductors