Giga- and terahertz frequency band detector based on an asymmetrically necked n-n+-GaAs planar structure