Singular value decomposition for polynomial systems