Electrostatic Doping in Semiconductor Devices