Efficient and multifunctional terahertz polarization control device based on metamaterials