Effect of near-fault ground motions on the response of base-isolated structures