Modes of climate variability bridge proximate and evolutionary mechanisms of masting