Bifurcation of Homoclinics of Hamiltonian Systems