Measurement of CP observables in the process B 0 → DK *0 with two- and four-body D decays