Terahertz detection mechanism and contact capacitance of individual metallic single-walled carbon nanotubes