A photographic survey of American life compares images of the past and present to show how the nation has changed in 150 years.