The sensitivity of age-structured populations to environmental variability