Bilateral relatedness: knowledge diffusion and the evolution of bilateral trade