Stage and localization of pelvic endometriosis and pain