Stabilization of polynomial dynamical systems using linear programming based on Bernstein polynomials