In the run-up to July 4, surveys have revealed broad and growing pessimism about the direction of the country.