Measurement of the π0→e+e-γ Dalitz decay at the Mainz Microtron