The mass spectra of recoil nucleon states from inelastic ρ0 production by pions of 12 and 18 GeV/c