New apps are encouraging you to sleep with your smartphone to improve slumber.