Thermoelectric power of heavy-fermion compounds