How is the composition (in fats, proteins or carbohydrates) of a certain food estimated and how is the amount of calories provided by the food calculated?