Longitudinal links between comorbidity treatment-seeking and sexually transmitted infections