A new measurement of the 7Li(d,p)8Li cross section and consequences for 7Be(p,γ)8B