Terahertz communication: detection and signal processing