The effects of age and intelligence on the dark-interval threshold