Seismic-damage quantification for brick infills of RC frames