The research found that poor sleep quality, difficulty falling asleep and difficulty staying asleep were all linked to poorer brain health in middle-aged people