Scientists in the UK and New Zealand have developed a weight-loss device that keeps the user's mouth shut.