Study of B− → D K− π+ π− and B− → D π− π+ π− Decays and Determination of the CKM Angle γ