Hybridizable discontinuous Galerkin method for solid mechanics