Correlation Functions of Harish-Chandra Integrals over the Orthogonal and the Symplectic Groups