Formation of inversion layers in organic field-effect transistors