Explain how ocean sediment cores can be used to provide evidence of climate change over long periods of time.