six classes of food and their functions