Reconstruction of past climate basing on the isotopic composition of carbon from fossil remains