Measurement of the φ→π0e+e- transition form factor with the KLOE detector