The high-fat, low-carb ketogenic diet has been growing in popularity in recent years, following claims of rapid weight loss.