Labels on packaged food and drinks will be modernized to reflect changes in eating habits that have accompanied epidemics of obesity and diabetes.