Lichnerowicz-Jacobi cohomology and homology of Jacobi manifolds: modular class and duality