Strong instability of solitary waves for nonlinear Klein-Gordon equations and generalized Boussinesq equations