Study of the eta pi and eta-prime pi spectra and interpretation of possible exotic J**PC = 1-+ mesons