Theory of inelastic x-ray scattering by phonons in ice.