The rotation of polarization of a terahertz wave through subwavelength metallic structures