Inelastic seismic spectra including a damage criterion: A stochastic approach