Waves in the magnetic field and solar wind flow outside the bow shock at comet P/Halley