QuantumR matrices related to the spin representations ofBn andDn