Conversion of p–n conduction type by spinodal decomposition in Zn-Sb-Bi phase-change alloys