The origins in the transformation of ambipolar to n-type pentacene-based organic field-effect transistors