Dust from a giant asteroid crash caused an ancient ice age