Fabrication of field effect transistor based on carbon nanotubes