Measurement of CP-violating asymmetries in B0→(ρπ)0 decays using a time-dependent Dalitz plot analysis