Extraordinary optical transmission coupled to a gain medium through periodic arrays of subwavelength apertures