Semiconductor nanowire field-effect transistors: towards high-frequency THz detectors