Method of Nonperturbing Measurements of the Electron Bunch Length Based on Coherent Diffraction Radiation