This is why you randomly wake up at 4 a.m. (and how to fall back asleep fast)