Production of two hadrons in semi-inclusive deep inelastic scattering