Perturbed sums-of-squares theorem for polynomial optimization and its applications. (2nd January 2016)