Phase separation and supercooling of a latent heat-storage material