It can be hard to shake overthinking, worrying or ruminating when we wake at ungodly hours, because of nocturnal changes in the brain