Hole trapping in molecularly doped polymers