Ti-doped Sn2Se3 phase change material for improved thermal stability