The 7Li(p, γ)8Be∗ reaction and single-particle levels in 8Be