The separation of proton and deuteron spin-orbit distortions in the reaction