Phase separation in liquid and amorphous Ni–Nb–Y alloys