Study of the decay phi ->eta pi(0)gamma with the KLOE detector