Study of the decay φ→π+π−π0 with the KLOE detector