Longitudinal phase-space analysis of the K+π+π− system produced by 10 GeV/c K+ incident on nuclei