Endometriosis and pelvic pain: relation to disease stage and localization