Unraveling the Mechanism of Molecular Doping in Organic Semiconductors