Competition between grain growth and grain-size reduction in polar ice