Quantum groups and subfactors of type B, C, and D