Astrophysical S-factor of the p9Be → 10Bγ radiative capture