If the roots of the equation x2+4x8x+6=k−1k+1 are equal in magnitude and opposite in sign, then the value of k is