A comparison of average transverse momenta measured in deep inelastic scattering and in electron-positron annihilation