HI holes and high-velocity clouds in the spiral galaxy NGC 6946