Weight loss and risk reduction of obesity-related outcomes in 0.5 million people: evidence from a UK primary care database