Planck intermediate results LIII. Detection of velocity dispersion from the kinetic Sunyaev-Zeldovich effect