Characterization of terahertz field confinement at the end of a tapered metal wire waveguide