Degree of polarization of thermal light emitted by gratings supporting surface waves.