The Influence of Accidental Torsion on the Inelastic Dynamic Response of Buildings During Earthquakes