Constitutive model for wood based on continuum damage mechanics