Solar modulation of galactic protons and helium with the PAMELA experiment