Symmetry-breaking bifurcation in the Gross-Pitaevskii equation with a double-well potential