Drawing comparisons to the greatest of dramatists, he entwined erudition with imagination in stage works that won accolades on both sides of the Atlantic.