It’s not how long you sleep—but how well—that may determine your brain health, according to new scientific findings.