Life-cycle cost assessment of inelastic buildings with tuned mass dampers in seismic areas