Sleeping less than 6 hours a night in middle age increases the risk of dementia by 30%, according to research