If \(\frac{\cos \theta}{1 + \sin \theta} = \frac{1}{a}\), then \(\frac{a^2 - 1}{a^2 + 1}\) is