Measurement of the B0→D*-Ds*+ and Ds+→ϕπ+ branching fractions