Electron (hole) phonon interactions and pseudopotentials in the transport properties of semiconductors and liquid metals