A Mobile App for Identifying Individuals With Undiagnosed Diabetes and Prediabetes and for Promoting Behavior Change: 2-Year Prospective Study