Diffracted diffraction radiation and its application to beam diagnostics