Susceptibility of spacecraft to impact-induced electromagnetic pulses