Organic field effect transistor with photo-structured gate dielectric and a method for its production