Doping mechanism in organic devices: Effects of oxygen molecules in poly(3-hexylthiophene) thin films