^7Be(p,γ)^8B cross section and the properties of ^7Be