Scattering of p-polarized light from Au and Ag gratings and the effect of surface polaritons