Effectiveness of tuned mass dampers against ground motion pulses