Seismic fragility evaluation of semi-rigid frames subjected to near-field earthquakes