Frequency and Correlates of Online Consultations With Doctors or Therapists in Middle-Aged and Older Adults: Nationally Representative Cross-sectional Study