Scientists find secret to restful sleep