Delayed-choice quantum eraser for the undergraduate laboratory