A constituent quark model for particle production in collisions between hadrons