Single-ended phase-change memory device and reading method