Multifunctional terahertz metasurface based on GeTe medium