Prove the following identities: cos^2 (π/8) + cos^2 (3π/8) + cos^2 (5π/8)+ cos^2 (7π/8) = 2