Using quantum mechanics, researchers crack the hidden chemistry of ice