Text this: A Novel Method for Constructing Main-Aftershock Sequences and Its Application in the Global Damage Accumulation Effects Analysis of Gravity Dams