Interpreting environmental and biological signals from the stable carbon isotope composition of fossilized organic and inorganic carbon