Phase change energy storage material production