Distorted wave analysis of reactions leading to the singlet deuteron state