1-D chalcogenide nanomaterials for electronics : phase-change memory and topological insulators