X-ray scattering by phonons in sodium fluoride