Role of bacterial vaginosis in pelvic inflammatory disease.