A model-independent Dalitz plot analysis of B-+/- -> DK +/- with D -> K(S)(0)h(+)h(-) (h = pi, K) decays and constraints on the CKM angle gamma