Optimal Design of Dynamic Absorbers for the Suppression of Beam Vibration Excited by Impulse