Vanadium Dioxide-Based Bifunctional Metamaterial for Terahertz Waves