Study of the structure of baryons from J / psi ---> BB decays in the quark model