Weight loss technology for people with treated type 2 diabetes: a randomized controlled trial