Measurement of the total photon-photon cross section for the production of hadrons at small Q2