Generation of tunable ultrafast ultraviolet third harmonic by collinear compensation of group-velocity mismatch