Transitive Assignment Kernels for Structural Classification