Predicting lumber grade and by-product yields for Scots pine trees