Life-cycle cost optimization of tuned mass dampers for tall buildings subjected to winds and earthquakes