Mixed Diagnostics for Longitudinal Properties of Electron Bunches in a Free-Electron Laser