Exchange model analysis of the reactions pp → pnπ+ and pp → ppπ+π− at 12 GeV/c