Resonant transmission enhancement at one-dimensional metal gratings