Theory of organic field effect transistors