Measurement of pi0 pi0 production in two-photon collisions