Collapse risk and earthquake-induced loss assessment of buildings with eccentrically braced frames