Variational approaches to impulsive elastic beam equations of Kirchhoff type