Spin dynamics and spin correlations in the spinS=1 two-dimensional square-lattice Heisenberg antiferromagnet La2NiO4