Spectral properties of the Dirichlet-to-Neumann operator for the exterior Helmholtz problem and its applications to scattering theory