Measurement of CP-Violating Asymmetries in B0→D(*)±D∓