Angular resolved transmission spectra of corrugated metallic films and gratings: Localized and surface plasmons