Dynamic modeling of friction joints in traditional timber structures