Dynamic control of microwave with tunable metamaterial and metasurface