Energetic ion acceleration and transport in the upstream region of Jupiter: Voyager 1 and 2