Homoclinic solutions for second order Hamiltonian systems near the origin