An interview with the author of a new book on his work writing for some of the 20th century's most beloved sitcoms.