Modeling of nonstationary earthquake ground motion and biaxial and torsional response of inelastic structures