Dynamic Terahertz switch based on waveguide-cavity-waveguide (WCW) structure