‘The American Experiment’ shows how the nation has been an inspiration — and a mess — from the start