Effects of soil-foundation flexibility on the performance of reinforced concrete frame structures