Switching between perfect absorption and polarization conversion, based on hybrid metamaterial in the GHz and THz bands