Some generating functions for the Jacobi polynomials