The playwright Tom Stoppard, whose playful erudition dazzled British theatregoing audiences for decades, has died aged 88.