A beamline for time-resolved extreme ultraviolet and soft x-ray spectroscopy