Transmission and diffraction properties of a narrow slit in ideal metal