Cluster polylogarithms for scattering amplitudes