A new book explores the evolution of humor from the post-World War II era to the rise of the millennials.