Carbon and oxygen isotope variations in precambrian cherts