Psychologists have found a link between depression and an acceleration of the rate at which the brain ages.