Stav dette: Resonant diffraction radiation from inclined gratings and bunchlength measurements