Your dinner could be deciding whether you get a good night's sleep