On global controllability for a class of polynomial affine nonlinear systems