X-ray radiation and runaway electron beam spectra at a nanosecond discharge in atmospheric-pressure air