If \(1 + \cos^2 \theta + \cos^4 \theta + \cos^6\theta + \cdots = 5,\) what is the value of \(\cos 2\theta\)?