People in the U.S. are eating healthier now than a decade ago, a new study finds.