Treatment of chlamydial and mycoplasmal genital infections