Detection of short X-ray pulses excited by an atmospheric-pressure discharge of nanosecond duration in air