NASA successfully crashes a spacecraft into an asteroid in the first planetary defence test