Polynomial Realizations of Finite-Dimensional Lie Algebras