Pulse-shape discrimination of high-energy neutrons and gamma rays in NaI(Tl)