Study of inclusive B- and B0-bar decays to flavor-tagged D, Ds and Lambda_c+