Extraordinary optical transmission in one-dimensional gold gratings: near- and far-field analysis