Evaluation of the seismic capacity of nonstructural components