Age-related decline in cognitive flexibility in female chimpanzees