Nanometer size field effect transistors for terahertz detectors