Sex differences in pre-incarceration mental illness, substance use, injury and sexually transmitted infections and health service utilization: a longitudinal linkage study of people serving federal sentences in Ontario