Abundances in Comet Halley at the time of the spacecraft encounters