Scientists have identified a genetic mutation which may be the key to stopping people from craving sugary treats.