Method and apparatus for reagentless measurement of the total organic carbon content of an aqueous sample