A study of deuteron scattering on 12C and 13C