Telefona gönder: Smith-Purcell effect as resonant diffraction radiation