Dead corals cast up the shore of Aitutaki, in the Cook Islands, provide a window into the Pacific Ocean's marine climate hundreds of years ago.