Ductility of timber joints under static and cyclic loads