The one-phonon Green function and the dielectric properties of sodium chloride