Absolute measurement of the total photoabsorption cross section for carbon in the nucleon resonance region