Seismic response of reinforced concrete frames on flexible foundations subjected to both horizontal and vertical ground motions