Performance improvement of phase-change memory cell with cup-shaped bottom electrode contact