A cognitive scientist has devised a drug-free sleep trick for your restless mind