Text this: Interactive Effects of Weight Recording Frequency and the Volume of Chat Communication With Health Care Professionals on Weight Loss in mHealth Interventions for Noncommunicable Diseases: Retrospective Observational Study