Measurement of the γγ*→π0 transition form factor