Occurrence and fate of carbohydrates in recent and ancient sediments from different environments of deposition