Study of B- -> DK-pi(+)pi(-) and B- -> D pi(-)pi(+)pi(-) decays and determination of the CKM angle gamma