Generation of large-bandwidth x-ray free-electron-laser pulses