G-Doping-Based Metal-Semiconductor Junction