Geological histories of polar environments