On the seismic response of protected and unprotected middle-rise steel frames in far-field and near-field areas