Typological fragility curves for RC buildings: influence of damage index and building sample selection