The author of a new book about the show dives deep into the NBC's comedy's fraught beginnings and unexpected legacy.