Text this: Microstructure characterization, phase transition, and device application of phase-change memory materials