Scattering Theory of Carrier Transport in Semiconductor Devices