On the edge mode in the theory of TM scattering by a strip or strip grating