Design of a 6.3-m optical klystron for a storage-ring ultraviolet free-electron laser