Measurement of the photon structure function Fγ2(x, Q2)