Study of the decay phi -> f(0)(980)gamma -> pi (+) pi(-) gamma with the KLOE detector