How does endometriosis affect the urinary system?