The influential playwright defined American comedy for a generation of television, theater and movie audiences