Energetic ions in the environment of comet Halley