Correlations for the orthogonal-unitary and symplectic-unitary transitions at the hard and soft edges