Effect of the Jupiter magnetosphere on the cosmic ray protons measured with the PAMELA experiment