Evaluation of damping ratios inferred from the seismic response of buildings