Electrical resistivity and thermoelectric power of heavy fermions and mixed‐valence systems