Nonlinear vibrations of a multi-span continuous beam subject to periodic impact excitation