Near-field and far-field scattering of surface plasmon polaritons by one-dimensional surface defects