Effect of acute pelvic inflammatory disease on fertility.