Duality of orthogonal and symplectic random tensor models