Energy transfer and food chains