Primary production dynamics and climate variability: ecological consequences in semiarid Chile