Relationship between local and global modulus of elasticity in bending and its consequence on structural timber grading