A Method for Structural Safety Evaluation under Mainshock-Aftershock Earthquake Sequences