list three functions of each of the following nutrients: carbohydrates, fats, and proteins