Repetitive negative thinking is associated with cognitive function decline