Methods and case study for optimizing seismic life cycle cost of buildings