Endometriosis as a cause of ileal obstruction.