Find the value of \(\frac{\cos x - \sin x + 1}{\cos x + \sin x - 1}\).