If you find yourself lying awake at night, it could be your diet