Measurement of the neutral D meson mixing parameters in D0 -> KSπ+π− decays