a woman complains of severe abdominal and pelvic pain around the time of menstruation that has gotten worse over the last 5 years. she also complains of pain during intercourse and has tried unsuccessfully to get pregnant for the past 18 months. these symptoms are most likely related to: