Optical transmission properties of perforated metal films in the middle-infrared range