Analysis of the response of structures to damaging pulse-type ground motions