The effect of a solid surface on the segregation and melting of salt hydrates.