Measurement of the gamma gamma* -> pi(0) transition form factor