Production and decay of quark-gluon strings: inclusive distributions of hadrons in p⊥ and x