Regional seismic-damage prediction of buildings under mainshock—aftershock sequence