The trick to getting back to sleep if you wake up in the middle of the night