Event generator tunes obtained from underlying event and multiparton scattering measurements