Baryon-baryon interaction in the quark model and the H-dibaryon