If you're having trouble sleeping, it might be worth looking at the foods you eat before going to bed.