A mixed method for transient analysis of soil–structure interaction under SH‐motion