Salt partitioning between water and high-pressure ices. Implication for the dynamics and habitability of icy moons and water-rich planetary bodies