The nucleon-nucleon scattering and the baryon spectrum in the quark cluster model with two scales of interaction