Phase-change materials for energy-efficient photonic memory and computing