Undulator Radiation of Dense Plane Electron Bunches