Measurement of CP observables in B± → D(⁎)K± and B± → D(⁎)π± decays