A stochastic model for assessing Chlamydia trachomatis transmission risk by using longitudinal observational data