The dynamics of velocity fluctuations in the solar wind – I. Coronal mass ejections