ω Production in the reaction π−p → π+π−π0n at 8 and 12 GeV/c