A BBC show that was filmed in Somerset has been named among the best television adaptations of a historical UK era, according to a historian.