Markovian modeling of seismic damage accumulation