Dalitz plot analyses of B-0 -> (D-DK+)-K-0 and B+-> (D)over-bar(-)D(0)K(+) decays