Hypergeometric form of generalized Legendre polynomials