An investigation of the effect of environmental factors on the budgets of heat, water vapor, and carbon dioxide within a tree