Measurement of the B -> (D)over-bar(()*()) D(()*()) K branching fractions