Kondo effect in a quantum dot embedded between topological superconductors