Duality of Orthogonal and Symplectic Matrix Integrals and Quaternionic Feynman Graphs