Galactic boron and carbon fluxes measured by the PAMELA experiment