Ultrafast phase-change materials for single-photon sources