The comedy and horror of Thorpe’s trial, and of the 1970s, are caught in this book and television series.