On the addition of velocities in the theory of relativity