Charge-coupled device photometry of Comet P/Halley