Room-temperature nanowire terahertz photodetectors