Exactly solvable models and new link polynomials. III: Two-variable topological invariants