Why regret hurts so much—and why it’s good for us