Diagnosis, treatment, and prevention of chlamydia