Accounting for the aftershock effect in the life-cycle assessment of structures