The longer you spend in a dream phase, the less likely you may be to develop conditions like Alzheimer’s and heart failure, a study suggests.