A tiny sensor that can be attached to your teeth may soon be able to track exactly what you are eating and when you are eating it.