Temperature driven structural evolution of Ge-rich GeSbTe alloys and role of N-doping