Global weak solutions for a generalized Dullin-Gottwald-Holm equation in the space H1(R)