Prediction of Tree Sapwood and Heartwood Profiles Using Pipe Model and Branch Thinning Theory