Global genetic study shows link between endometriosis, other debilitating pain conditions