Coupled carbon and oxygen isotope model for pedogenic carbonates